import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;

import br.edu.ufcg.msnlab.gui.menu.MenuNovo;
import java.awt.Dimension;

public class Test extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	private JMenuBar jJMenuBar = null;
	private MenuNovo menuNovo = null;
	
	public Test() {
		super();
		initialize();
	}
	
	private void initialize() {
		this.setSize(637, 391);
		this.setJMenuBar(getJJMenuBar());
		
		
		this.setContentPane(getJContentPane());
		this.setTitle("MSN LAB");
	}

	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jContentPane = new JPanel();
			jContentPane.setLayout(new BorderLayout());
		}
		return jContentPane;
	}

	private JMenuBar getJJMenuBar() {
		if (jJMenuBar == null) {
			jJMenuBar = new JMenuBar();
			jJMenuBar.add(getJMenuFile());
		}
		return jJMenuBar;
	}

	private MenuNovo getJMenuFile() {
		if (menuNovo == null) {
			menuNovo = new MenuNovo();
		}
		return menuNovo;
	}
}  //  @jve:decl-index=0:visual-constraint="10,10"  
